package com.zh.authserver;

import com.zh.authserver.support.SpringContextHolder;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 认证服务器
 *
 *
 * 问题记录：授权码模式下，测试未成功
 */
@SpringBootApplication
public class AppAuthServer {

	public static void main(String[] args) {
		SpringApplication.run(AppAuthServer.class, args);
		System.err.printf("application startup success... [server.port=%s, spring.profiles.active=%s]%n", SpringContextHolder.getProperty("server.port"), SpringContextHolder.getProperty("spring.profiles.active"));
	}

}
